﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RG.Common
{
    public static class DecimalExtensions
    {
        public static bool HasFractionalPart(this decimal sum)
        {
            int integral = (int)sum;
            return sum - integral > 0;
        }
    }
}
